<!DOCTYPE html>
<html>
    <head>
        <title>音速风暴-待发货订单</title>
        <link rel="stylesheet" href="/static/weui.min.1.1.css">
        <script src="http://libs.baidu.com/jquery/2.0.0/jquery.min.js"></script>
        <link rel="shortcut icon" href="{{ url_for('static', filename='favicon.ico') }}">
        <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0">
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
        <style>
            .page__hd {
                padding: 10px;
            }
            .page__title {
                text-align: left;
                font-size: 20px;
                font-weight: 400;
            }
            .weui-cell__bd{
                white-space: nowrap;
                overflow: auto;
            }
            .page, body{background-color: #fbf9fe}
        </style>
    </head>
    <body>
        <div class="page__hd">
            <h1 class="page__title">待发货订单</h1>
            <p class="page__desc"></p>
        </div>
        <div class="weui-cells">
            {% for order in orders %}
            <a class="weui-cell weui-cell_access" href="?oid={{order.get('order_id')}}">
                <div class="weui-cell__bd">
                    <p>{{ order.get('product_name') }}</p>
                </div>
                <div class="weui-cell__ft">{{ strtime(order.get('order_create_time', 0))}}</div>
            </a>
            {% endfor %}
        </div>
    </body>   
<html>
